<pre>
12. 2011-06-30 Struts2:
Most struts 2 elements need to add theme="simple"
for example, s:form, if you don't add theme="simple", then it will add element "table" automatically.
The same with s:textfield ...


11. SMTP Server port
pop3 110
smtp 25 
So you can try to  "telnet $ServerIP$  25"  or  "telnet $ServerIP$ 110"


10. SQL Commnad - Add linked server
EXEC master.dbo.sp_addlinkedserver @server = N'$LinkedServerName$',@provider=N'SQLNCLI',@datasrc=N'$LinkedServerName$',@srvproduct=N'$LinkedServerName$'


9. SQL Command - DB Check
sp_who
sp_lock
sp_who2


8. Command - Remote Restart
use Rcmd to login remote DOS System firstly. Then type:
shutdown -r -m \\$ServerIP$ -t 1


7. Command - Add Login Account
net localgroup Administrators starcite\sh-mvengineer /add


6. Command - Remote Login
mstsc /v: $ServerIP$
mstsc /v: $ServerIP$ /admin


5. Simple to list all files in a folder:
dir /A:A /B>>D:\list.txt


4. Eclipse compile without svn files:
Right click on $ProjectName$
properties -> Java Build Path -> $ProjectName$/datagrid-src/, $ProjectName$/src, $ProjectName$/test/unit/src<br/>
add "**/.svn/**" in itme: Excluded.


3. SQL onlie formator:
http://www.dpriver.com/pp/sqlformat.htm/


2. Show SP content:
exec sp_helptext N'$StoreProcedureName$'



</pre>


